﻿<UserControl x:Class="BTM_Client_Application.RealTimeFilter.FilterElementControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d">

    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
                <!--<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />-->
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/MyResources.xaml" />
                <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
                <ResourceDictionary Source="pack://application:,,,/Styles/UserControls.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>

    <Border HorizontalAlignment="Left" VerticalAlignment="Top">
        <StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Left" Height="24" Width="Auto" Margin="3,3,3,3">
            <!--<Border Name="TitleRegion" MouseEnter="TitleRegion_OnMouseEnter">
                <TextBlock Name="Title" Text="Title" VerticalAlignment="Center" Margin="5,0,5,0"/>
            </Border>-->
            <Button Name="TitleButton" Margin="5,0,5,0" Click="TitleButton_OnClick"></Button>
            <Border Name="ButtonRegion">
                <Button Name="ResetButton" VerticalAlignment="Center" Click="ResetButton_OnClick">
                    <Image Source="{StaticResource ResourceKey=CloseImageLight}"/>
                </Button>
            </Border>
        </StackPanel>
    </Border>
</UserControl>
